package com.peng.edu.client;

import com.peng.utils.Result;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class VodClientImpl implements VodClient{
    @Override
    public Result removeAliyunVideo(String id) {
        System.out.println("服务降级。。。。。。。。。。");
        return Result.error().message("删除视频出错了");
    }

    @Override
    public Result removeBatch(List<String> videoIdList) {
        return Result.error();
    }
}
